package ru.lukyanets.transmission.protocol.client;

import ru.lukyanets.transmission.protocol.model.Method;

/**
 * @author slukyanets
 */
public enum QueueAction {
    MOVE_TOP(Method.QUEUE_MOVE_TOP),
    MOVE_UP(Method.QUEUE_MOVE_UP),
    MOVE_DOWN(Method.QUEUE_MOVE_DOWN),
    MOVE_BOTTOM(Method.QUEUE_MOVE_BOTTOM);

    private final Method<?> method;
    QueueAction(Method<?> method){
        this.method = method;
    }

    public Method<?> getMethod() {
        return method;
    }
}
